<?php

class Profile extends AppModel
{
    var $name = 'Profile';
    var $validate = array(
        'name' => array('name_must_not_be_blank' => array('rule' => 'notEmpty',
                    'message' => 'Vui long nhap thong tin')));
    var $belongsTo = array('User' => array(
            'className' => 'User',
            'conditions' => '',
            'order' => '',
            'foreignKey' => 'user_id'));

}
